<#import "../baseftl/page.ftl" as comm />
<#assign security=JspTaglibs["http://www.springframework.org/security/tags"] /> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>管理区域</title>
</head>
<body>
	<table class="listView">
		<tr>
			<th><b>授权标志</b></th>
			<th><b>授权名称</b></th>
			<th><b>授权路径</b></th>
			<th><b>操作</b></th>
		</tr>
	<#list page.result as list>
		<tr>
				<td nowrap="nowrap">${list.name?default("")}</td>
				<td nowrap="nowrap">${list.cnname?default("")}</td>
				<td>${list.path?default("")}</td>
				<td nowrap="nowrap">&nbsp; 
					<@security.authorize ifAnyGranted="RES_RESOURCE_SAVE">
						<a href="${base}/system/resource/input/${list.id?default("")}.shtml">修改</a>&nbsp;
					</@security.authorize>
					<@security.authorize ifAnyGranted="RES_RESOURCE_REMOVE">
						<a href="${base}/system/resource/delete/${list.id?default("")}.shtml">删除</a>&nbsp;
					</@security.authorize>
				</td>
			</tr>
	</#list>
	</table>
<@comm.pages/>
	<@security.authorize ifAnyGranted="RES_RESOURCE_SAVE">
			<a href="${base}/system/resource/input.shtml">增加新资源</a>
	</@security.authorize>

</body>
</html>